Configuration parameters
The minimum configuration parameters that must be set to enable PTP on an Adapter for LiveWire are described in the table below. For more complex configurations, contact LiveAction Tech Support to get a full list of all the PTP configuration parameters supported.
NOTE: PtpIpAddr, PtpGw and PtpNetmask are only applicable if PtpDhcp is set to DISABLE. If PtpDhcp is set to ENABLE the static IP configuration parameters should not be added to the configuration file.
Section
|
Parameters
|
Description
|
Values
|
Default Value
|
---|---|---|---|---|
System
|
TimeSyncOsTimeReference
|
This option can be used to synchronize the OS Time to a Napatech adapter clock
The chosen adapter cannot specify OSTime as one of the options in the TimeSyncReferencePriority field
|
None - adapter-0 - adapter-1 - adapter-2...
|
None
|
AdapterN
|
PtpDhcp
|
Enables/disables DHCP support on the PTP port. Set to DISABLE if a static IP address will be used.
|
ENABLE - DISABLE
|
DISABLE
|
AdapterN
|
PtpIpAddr
|
Specifies a static IP address for the PTP port.
|
Any valid IPv4 address (e.g. 192.168.1.10)
|
Not set
|
AdapterN
|
PtpGw
|
Specifies a gateway address for the PTP port.
|
Any valid IPv4 address (e.g. 192.168.1.10)
|
Not set
|
AdapterN
|
PtpNetMask
|
Specifies the netmask for the static address specified with PtpIPaddr.
|
Any valid IPv4 netmask (e.g. 255.255.255.0)
|
Not set
|
AdapterN
|
PtpUnicastMasterAddre<1...10>
|
Adds an IP address of a PTP master to the unicast master table.
Up to 10 IP addresses can be added.
The order of the addresses is not important.
|
Any valid IPv4 address (e.g. 192.168.1.10)
|
Not set
|
AdapterN
|
TimeSyncReferencePriority
|
Comma separated list of clock sources.
In order to enable PTP, PTP must be the first item in the list.
The last item in the list must be either FreeRun or OSTime.
|
PTP - Ext1 - FreeRun - OSTime
|
OSTime
|
Example of /etc/omni/ntoverrides.ini:
## This file is used to specify overrides for the ntservice configuration file
#
## Option to synchronize OS time to a Napatech adapter clock:
## Note: The selected accelerator must not have OSTime included in the
## TimeSyncReferencePriority parameter, nor must it be synchronized to an accelerator
## in OS synchronization mode.
[System]
TimeSyncOsTimeReference = adapter-1
#
# Example for Configuring Multicast:
[Adapter0]
PtpDhcp = ENABLE
# Last item in list must be FreeRun or OSTime, cannot include both in the list:
TimeSyncReferencePriority = PTP, OSTime
##
# Example for Configuring Unicast using a Static IP Address:
[Adapter1]
PtpDhcp = DISABLE
PtpIpAddr = 192.168.1.15
PtpGw = 192.168.1.1
PtpNetMask = 255.255.255.0
PtpUnicastMasterAddr1 = 192.168.1.13
PtpUnicastMasterAddr2 = 192.168.1.29
TimeSyncReferencePriority = PTP, FreeRun